package cn.com.nes.site.entity;

import java.util.HashMap;
import java.util.List;

import cn.com.nes.common.util.JsonUtil;


public class DataReq {
	private String username;
	private String userpwd;
	private String ticketid;
	private String startTime;
	private String xzqhdm;
	private String gsdm;
	private String nd;
	private String sbid;
	private int pageid = 1;
	private int pagesize = 20;
	private UserInfo  uinfo = null ;
	private String type;
	private String dateMin ;
	private String dateMax ;
	
	
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getDateMin() {
		return dateMin;
	}

	public void setDateMin(String dateMin) {
		this.dateMin = dateMin;
	}

	public String getDateMax() {
		return dateMax;
	}

	public void setDateMax(String dateMax) {
		this.dateMax = dateMax;
	}

	public UserInfo getUinfo() {
		return uinfo;
	}

	public void setUinfo(UserInfo uinfo) {
		this.uinfo = uinfo;
	}

	private HashMap<String, Object> reqData = new HashMap<String, Object>();
	
	private List<HashMap<String, String>> reqDataList = null ;
	
	
	public List<HashMap<String, String>> getReqDataList() {
		return reqDataList;
	}

	public void setReqDataList(List<HashMap<String, String>> reqDataList) {
		this.reqDataList = reqDataList;
	}

	public String getNd() {
		return nd;
	}

	public void setNd(String nd) {
		this.nd = nd;
	}

	private String appid ; //分配给外部平台的ID,编码规则类似于SN
	private String appkey ;//组成username+";"+userpwd+";"+timestamp+";" 与bjctce001异或
	



	public HashMap<String, Object> getReqData() {
		return reqData;
	}

	public void setReqData(HashMap<String, Object> reqData) {
		this.reqData = reqData;
	}

	public String getSbid() {
		return sbid;
	}

	public void setSbid(String sbid) {
		this.sbid = sbid;
	}

	public String getGsdm() {
		return gsdm;
	}

	public void setGsdm(String gsdm) {
		this.gsdm = gsdm;
	}

	public String getXzqhdm() {
		return xzqhdm;
	}

	public void setXzqhdm(String xzqhdm) {
		this.xzqhdm = xzqhdm;
	}

	private String key ;
	
	
	private String isTestTimes = null ;
	

	public String getIsTestTimes() {
		return isTestTimes;
	}

	public void setIsTestTimes(String isTestTimes) {
		this.isTestTimes = isTestTimes;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getAppkey() {
		return appkey;
	}

	public void setAppkey(String appkey) {
		this.appkey = appkey;
	}

	public String getTicketid() {
		return ticketid;
	}

	public void setTicketid(String ticketid) {
		this.ticketid = ticketid;
	}

	public int getPageid() {
		return pageid;
	}

	public void setPageid(int pageid) {
		this.pageid = pageid;
	}



	public int getPagesize() {
		return pagesize;
	}

	public void setPagesize(int pagesize) {
		this.pagesize = pagesize;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUserpwd() {
		return userpwd;
	}

	public void setUserpwd(String userpwd) {
		this.userpwd = userpwd;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
public static void main(String[] args) {
	DataReq req= new DataReq() ;
	req.getReqData().put("quyxzqhdm", "");
	req.getReqData().put("nd", "");
	req.getReqData().put("hzxm", "");
	req.getReqData().put("sbzt", "");
	req.getReqData().put("xxdz", "");
	
	//req.setUserpwd("aepecdsdg");
	System.out.println(JsonUtil.getStriFromObj(req));
}
}
